package com.wyt.dao;

import com.wyt.entity.Book1;
import com.wyt.entity.BookType1;



import java.util.List;

public interface BookTypeMapper1 {
    int deleteByPrimaryKey(Integer typeid);

    int insert(String booktype);

    int insertSelective(BookType1 record);

    BookType1 selectByPrimaryKey(Integer typeid);

    int updateByPrimaryKeySelective(BookType1 record);

    int updateByPrimaryKey(BookType1 record);

    List<BookType1> findAllBookType();

    List<BookType1> findAllBookTypename();

    List<Book1> findAlltype(String bookname);

    List<BookType1> findBookType();
    //根据id查询书籍类型
//    int getBookType(Integer bookid);
}